package org.jeecg.modules.innerApi.common.responseDto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;


/**
 * @Description: 销项发票开票返回数据
 * @Author: jeecg-boot
 * @Date:   2023-08-18
 * @Version: V1.0
 */
@Data
@ApiModel(description="销项发票开票返回数据")
public class InvoiceRtn extends CommonRtn{

	/**状态码*/
	@ApiModelProperty(value = "状态码（200成功 303电票平台需要扫脸认证）")
	private String code;//

	/**数据结果*/
	@ApiModelProperty(value = "数据结果")
	private InvoiceRtnData data ;

	@Data
	@ApiModel(description="销项发票开票返回数据")
	public static class InvoiceRtnData {

		/**发票信息ID*/
		@ApiModelProperty(value = "发票信息ID")
		private String fpxxId;
		@ApiModelProperty(value = "开票申请流水号")
		private String fpsqlsh;

		@ApiModelProperty(value = "发票类型")
		private java.lang.String fplxdm;

		/**发票代码*/
		@ApiModelProperty(value = "发票代码")
		private String fpdm;
		/**发票号码*/
		@ApiModelProperty(value = "发票号码")
		private String fphm;
		/**税控码*/
		@ApiModelProperty(value = "税控码")
		private String skm;
		/**校验码*/
		@ApiModelProperty(value = "校验码")
		private String jym;
		/**二维码*/
		@ApiModelProperty(value = "二维码")
		private String ewm;
		/**开票日期*/
		@ApiModelProperty(value = "开票日期")
		private Date kprq;

		@ApiModelProperty(value = "价税合计")
		private java.math.BigDecimal jshj;
		@ApiModelProperty(value = "合计金额")
		private java.math.BigDecimal hjje;

		@ApiModelProperty(value = "合计税额")
		private java.math.BigDecimal hjse;

		@ApiModelProperty(value = "销方税号")
		private String xfsh;
		@ApiModelProperty(value = "销方名称")
		private String xfmc;

		@ApiModelProperty(value = "购方税号")
		private String gfsh;

		@ApiModelProperty(value = "购方名称")
		private String gfmc;

		@ApiModelProperty(value = "红字信息表编号")
		private String hzxxbbh;
	}
}
